]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Extract transition completion handling into helper function
authorJoan Torres Lopez <joantolo@redhat.com>
Fri, 20 Feb 2026 11:39:39 +0000 (12:39 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 2 Aug 2026 16:53:57 +0000 (18:53 +0200)
commit3a728abec02ac4b673114d55732b822e8a5c30b2
tree5091d03e87584de1298982dffec29ce24dd0cf29
parentaa55ec1da2d5a3076e70e42e515e23209e715aa4
environment: Extract transition completion handling into helper function

Add _setupTransitionCompletion to centralize started/stopped signal
handling and cleanup logic. Both _easeActor and _easeAnimatableProperty
now use this helper, reducing code duplication and ensuring consistent
behavior. The signal holder is created as a child of sessionSignalHolder
for proper cleanup on session shutdown.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4082>
(cherry picked from commit 3b638993b7456565ec6f60ceb20df39302313d39)
js/ui/environment.js